Skip to content

Comments

More resilient regex in utils.code_utils.extract_diffs and removed re…#3

Merged
codelion merged 2 commits intoalgorithmicsuperintelligence:mainfrom
jvm123:feature/improved-whitespace-handling
May 19, 2025
Merged

More resilient regex in utils.code_utils.extract_diffs and removed re…#3
codelion merged 2 commits intoalgorithmicsuperintelligence:mainfrom
jvm123:feature/improved-whitespace-handling

Conversation

@jvm123
Copy link
Contributor

@jvm123 jvm123 commented May 18, 2025

…dundant implementation in apply_diff() function

The more resilient white-space handling fixes unit test failures of the two functions.

…dundant implementation in apply_diff() function
@codelion
Copy link
Member

@jvm123 thanks for your contributions and the PRs. Can you please merge from main once and resolve these conflicts so that I can accept this PR.

@codelion codelion merged commit b75b359 into algorithmicsuperintelligence:main May 19, 2025
3 checks passed
codelion pushed a commit that referenced this pull request Jun 4, 2025
shubham3-ucb pushed a commit to mert-cemri/autoevolve-dev that referenced this pull request Nov 26, 2025
…/improved-whitespace-handling

More resilient regex in utils.code_utils.extract_diffs and removed re…
shubham3-ucb pushed a commit to mert-cemri/autoevolve-dev that referenced this pull request Nov 26, 2025
toslali-ibm added a commit to toslali-ibm/openevolve that referenced this pull request Feb 17, 2026
1. Fix scoring formula documentation mismatch (Issue algorithmicsuperintelligence#3)
   - Update config.yaml to match actual implementation: score = -avg_latency
   - Clarify that higher score (less negative) = better

2. Fix baseline weight mismatch (Issue algorithmicsuperintelligence#12)
   - Update routing_policy.yaml to match documented baseline
   - Change from cache=0/load=0.9 to cache=0.6/load=0.4

3. Add robust cluster metric parsing (Issue algorithmicsuperintelligence#5)
   - Validate number of e2e_mean_ms matches (expect num_instances + 1)
   - Handle single-instance case
   - Warn if unexpected number of matches

These fixes ensure:
- LLM understands correct optimization direction
- Evolution optimizes around correct baseline weights
- Metric parsing is resilient to BLIS output changes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants